PreviousNextTracker indexSee it online !

(276/278) 1825 - XML - schema error is silently ignored

Attached are two files: a.xml and a.xsd. a.xml refers to a.xsd. a.xsd includes b.xsd, which does not exist.

The absence of b.xsd is never reported. In fact, error reporting stops completely. Not even the error in well-formedness of a.xml is reported.

We are using jEdit in an educational context and this behaviour is sub-optimal. At least the missing schema file should be reported to catch typos.

Alan, could you look into this?

Versions: Java 1.9 + jEdit 5.3.1 + XML 3.0.0 (older versions exhibit this problem, too)

Submitted will69 - 2015-11-02 14:01:37.723000 Assigned kerik-sf
Priority 5 Labels
Status pending Group
Resolution None

Comments

2015-11-02 20:23:10.875000
kerik-sf

Indeed, an unexpected exception is thrown from the resolver when looking for b.xsd. Then parsing silently fails (you can see something is wrong because the SideKick tree is not updated).

Fixed in r24130 - r24132. If you can compile the plugin from sources you won't have to wait for the next release.

Thanks for the detailed report and test case :-)

2015-11-02 20:23:41.899000
kerik-sf

- **status**: open --> pending
- **assigned_to**: Alan Ezust --> Eric Le Lay
- **Group**: -->

2015-11-03 08:03:02.592000
will69

Works like a charm. That was fast. Thanks a lot, Eric!